package com.lyc.dao;

import com.lyc.entity.OrderItem;
import com.lyc.entity.vo.OrderItemVo;
import com.lyc.entity.vo.OrderVo;

import java.util.List;

public interface OrderItemMapper {
    int deleteByPrimaryKey(Integer itemId);

    int insert(OrderItem record);

    int insertSelective(OrderItem record);

    OrderItem selectByPrimaryKey(Integer itemId);

    int updateByPrimaryKeySelective(OrderItem record);

    int updateByPrimaryKey(OrderItem record);

    void insertOrderItems(List<OrderItem> itemList);

    OrderVo selectByOid(String oid);

    void deleteByOid(String oid);

    void deleteBatchByOids(List<String> oids);
}